package com.kayt.cyberBar.cpublic.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cpublic.business.entity.po.CPublicUserStatus;

public interface IPublicUserStatusDao {
	
	public Boolean checkExist(String name) throws SQLException;

	public Long addStatus(CPublicUserStatus status) throws SQLException;

	public CPublicUserStatus getStatusById(String statusId);

	public void updateStatus(CPublicUserStatus status) throws SQLException;

	public int deleteStatus(String statusId);

	public PageData<CPublicUserStatus> getStatusList(LinkedHashMap<String, String> orderMap) throws SQLException;;

}
